package com.lcxsoft.adminservice;

import com.lcxsoft.feign.clients.SmsClient;
import com.lcxsoft.feign.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"com.lcxsoft"})
@MapperScan("com.lcxsoft.userservice.mapper")
@EnableFeignClients(basePackages = "com.lcxsoft.feign.clients", clients = {SmsClient.class})
public class AdminServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminServiceApplication.class, args);
    }
}
